package io.renren.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.annotation.Dict;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 账目表
 *
 * @author Amadeus
 * @email 313300182@qq.com
 * @date 2020-12-03 14:29:21
 */
@Data
@TableName("sys_pocket")
public class PocketEntity extends SuperEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 收支数目
	 */
	private BigDecimal payment;
	/**
	 * 收支数目
	 */
	@Dict(dicCode = "money_type")
	private Long type;
	/**
	 * 收支时间
	 */
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private LocalDate paydata;
	/**
	 * 原因
	 */
	private String reason;
	/**
	 * 备注
	 */
	private String remark;

}
